home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / os2 / nsos2_1a.zip / NETSCAPE.PKG < prev    next >
Text File  |  1996-09-09  |  14KB  |  380 lines

  1. **********************************************************************
  2. *  See the Software Installer Reference for information on creating a
  3. *  package file.
  4. **********************************************************************
  5.  
  6.  
  7. *---------------------------------------------------------------------
  8. *  Service level
  9. *---------------------------------------------------------------------
  10. SERVICELEVEL
  11.    LEVEL = '000000'
  12.  
  13.  
  14. **********************************************************************
  15.  
  16.  
  17. *---------------------------------------------------------------------
  18. *  Include 1 DISK entry for each diskette needed.
  19. *
  20. *  The following changes are required:
  21. *  - Change "<Product Name>" in the each NAME keyword to your product
  22. *    name.
  23. *  - Set each VOLUME keyword to a unique value.
  24. *---------------------------------------------------------------------
  25. DISK
  26.    NAME   = 'Netscape Navigator for OS/2 - Diskette 1',
  27.    VOLUME = 'PROD001'
  28.  
  29. **********************************************************************
  30.  
  31.  
  32. *---------------------------------------------------------------------
  33. *  Default directories
  34. *---------------------------------------------------------------------
  35. PATH
  36.    FILE      = 'C:/NETSCAPE',
  37.    FILELABEL = 'Installation directory:'
  38. *  AUX1      = 'C:/NETSCAPE/MAIL',
  39. *  AUX1LABEL = 'Mail directory:',
  40. *  AUX2      = 'C:/NETSCAPE/News',
  41. *  AUX2LABEL = 'News directory:',
  42. *  AUX3      = 'C:/NETSCAPE/Cache',
  43. *  AUX3LABEL = 'Cache directory:',
  44. *  AUX4      = 'C:/NETSCAPE/Security',
  45. *  AUX4LABEL = 'Security directory:',
  46. *  AUX5      = 'C:/NETSCAPE/Plugins',
  47. *  AUX5LABEL = 'Plugins directory:'
  48. **********************************************************************
  49.  
  50.  
  51. *---------------------------------------------------------------------
  52. *  Exit to define your product folder's object ID.
  53. *
  54. *  The following changes are required:
  55. *  - Set variable FOLDERID to your folder's object ID; be sure to make
  56. *    the value sufficiently unique; do not use "PRODFLDR".
  57. *---------------------------------------------------------------------
  58. FILE
  59.    EXITWHEN = 'ALWAYS',
  60.    EXIT     = 'SETVAR FOLDERID=NETSCAPEFLDR'
  61.  
  62.  
  63. **********************************************************************
  64.  
  65.  
  66. *---------------------------------------------------------------------
  67. *  This component creates a folder on the desktop.  You must create
  68. *  the folder in a hidden component to ensure that deleting your
  69. *  product does not delete the folder before the objects within the
  70. *  folder are deleted.
  71. *---------------------------------------------------------------------
  72. COMPONENT
  73.    NAME    = 'INSFIRST',
  74.    ID      = 'INSFIRST',
  75.    DISPLAY = 'NO',
  76.    SIZE    = '1000'
  77.  
  78. *---------------------------------------------------------------------
  79. *  Include a FILE entry to install the catalog file.
  80. *
  81. *  The following changes are required:
  82. *  - Change the SOURCE and PWS keywords to the name of your catalog
  83. *    file.
  84. *---------------------------------------------------------------------
  85. FILE
  86.    VOLUME        = 'PROD001',
  87.    WHEN          = 'OUTOFDATE',
  88.    REPLACEINUSE  = 'I U D R',
  89.    UNPACK        = 'NO',
  90.    SOURCE        = 'DRIVE: NETSCAPE.ICF',
  91.    PWS           = 'NETSCAPE.ICF',
  92.    DATE          = '960901',
  93.    TIME          = '1200',
  94.    SIZE          = '1000'
  95.  
  96. *---------------------------------------------------------------------
  97. *  Set variable CATALOG to be the name of the catalog file;
  98. *  the variable is used in EPFISINC.PKG.
  99. *
  100. *  The following changes are required:
  101. *  - Change "CATALOG.ICF" in the EXIT keyword to the name of your
  102. *    catalog file.
  103. *---------------------------------------------------------------------
  104. FILE
  105.    EXITWHEN      = 'INSTALL || UPDATE || RESTORE',
  106.    EXITIGNOREERR = 'NO',
  107.    EXIT          = 'SETVAR CATALOG=NETSCAPE.ICF'
  108.  
  109. *---------------------------------------------------------------------
  110. *  Include a FILE entry to install the description file.
  111. *
  112. *  The following changes are required:
  113. *  - Change the SOURCE and PWS keywords to the name of your
  114. *    description file.
  115. *---------------------------------------------------------------------
  116. FILE
  117.    VOLUME        = 'PROD001',
  118.    WHEN          = 'OUTOFDATE',
  119.    REPLACEINUSE  = 'I U D R',
  120.    UNPACK        = 'NO',
  121.    SOURCE        = 'DRIVE: NETSCAPE.DSC',
  122.    PWS           = 'NETSCAPE.DSC',
  123.    DATE          = '950101',
  124.    TIME          = '1200',
  125.    SIZE          = '1000'
  126.  
  127. *---------------------------------------------------------------------
  128. *  Create your product's folder on the desktop.
  129. *
  130. *  The following changes are required:
  131. *  - Change "<Product Name>" in the EXIT keyword to your product name.
  132. *---------------------------------------------------------------------
  133. FILE
  134.    EXITWHEN      = 'INSTALL || UPDATE',
  135.    EXITIGNOREERR = 'NO',
  136.    EXIT          = 'CREATEWPSOBJECT WPFolder Netscape
  137.                    <WP_DESKTOP> R
  138.                    "OBJECTID=<%FOLDERID%>;"'
  139.  
  140. *---------------------------------------------------------------------
  141. *  The included package file will install and register the
  142. *  Installation Utility.  You do not need to make any changes to
  143. *  EPFISINC.PKG.
  144. *---------------------------------------------------------------------
  145. INCLUDE
  146.    NAME = 'DRIVE: EPFISINC.PKG'
  147.  
  148.  
  149. **********************************************************************
  150.  
  151.  
  152. *---------------------------------------------------------------------
  153. *  Include 1 COMPONENT entry for each component.
  154. *
  155. *  The following changes are required:
  156. *  - Change "Component 1" in the NAME keyword to the name of the
  157. *    component.
  158. *  - Describe the component in the DESCRIPTION keyword.
  159. *
  160. *  The component must require at least the INSFIRST and DELLAST
  161. *  components.
  162. *---------------------------------------------------------------------
  163. COMPONENT
  164.    NAME        = 'Netscape Navigator',
  165.    ID          = 'COMP1',
  166.    REQUIRES    = 'INSFIRST DELLAST',
  167.    DISPLAY     = 'YES',
  168.    DESCRIPTION = 'Netscape Navigator for OS/2',
  169.    SIZE        = '3900000'
  170.  
  171. *---------------------------------------------------------------------
  172. *  Include 1 FILE entry for each file in the component.
  173. *
  174. *  The following changes are required:
  175. *  - Change the SOURCE and PWS keywords to the name of the file to
  176. *    install.
  177. *---------------------------------------------------------------------
  178. FILE
  179.    VOLUME        = 'PROD001',
  180.    WHEN          = 'OUTOFDATE',
  181.    REPLACEINUSE  = 'I U D R',
  182.    UNPACK        = 'YES',
  183.    SOURCE        = 'DRIVE: NETSCAPE.EX_',
  184.    PWS           = 'NETSCAPE.EXE',
  185.    DATE          = '960830',
  186.    TIME          = '1200',
  187.    SIZE          = '2510000'
  188.  
  189. *---------------------------------------------------------------------
  190. *  Include 1 FILE entry for each file in the component.
  191. *
  192. *  The following changes are required:
  193. *  - Change the SOURCE and PWS keywords to the name of the file to
  194. *    install.
  195. *---------------------------------------------------------------------
  196. FILE
  197.    VOLUME        = 'PROD001',
  198.    WHEN          = 'OUTOFDATE',
  199.    REPLACEINUSE  = 'I U D R',
  200.    UNPACK        = 'NO',
  201.    SOURCE        = 'DRIVE: READ.ME',
  202.    PWS           = 'READ.ME',
  203.    DATE          = '960830',
  204.    TIME          = '1200',
  205.    SIZE          = '10000'
  206.  
  207. *---------------------------------------------------------------------
  208. *  Include 1 FILE entry for each file in the component.
  209. *
  210. *  The following changes are required:
  211. *  - Change the SOURCE and PWS keywords to the name of the file to
  212. *    install.
  213. *---------------------------------------------------------------------
  214. FILE
  215.    VOLUME        = 'PROD001',
  216.    WHEN          = 'OUTOFDATE',
  217.    REPLACEINUSE  = 'I U D R',
  218.    UNPACK        = 'NO',
  219.    SOURCE        = 'DRIVE: INSTALL.IN_',
  220.    PWS           = 'INSTALL.IN_',
  221.    DATE          = '960830',
  222.    TIME          = '1200',
  223.    SIZE          = '525000'
  224.  
  225. *---------------------------------------------------------------------
  226. *  Include 1 FILE entry for each file in the component.
  227. *
  228. *  The following changes are required:
  229. *  - Change the SOURCE and PWS keywords to the name of the file to
  230. *    install.
  231. *---------------------------------------------------------------------
  232. FILE
  233.    VOLUME        = 'PROD001',
  234.    WHEN          = 'OUTOFDATE',
  235.    REPLACEINUSE  = 'I U D R',
  236.    UNPACK        = 'NO',
  237.    SOURCE        = 'DRIVE: LICENSE',
  238.    PWS           = 'LICENSE',
  239.    DATE          = '960830',
  240.    TIME          = '1200',
  241.    SIZE          = '14000'
  242.  
  243.  
  244. *---------------------------------------------------------------------
  245. *  Include 1 FILE entry for each file in the component.
  246. *
  247. *  The following changes are required:
  248. *  - Change the SOURCE and PWS keywords to the name of the file to
  249. *    install.
  250. *---------------------------------------------------------------------
  251. FILE
  252.    VOLUME        = 'PROD001',
  253.    WHEN          = 'OUTOFDATE',
  254.    REPLACEINUSE  = 'I U D R',
  255.    UNPACK        = 'YES',
  256.    SOURCE        = 'DRIVE: NETSCAPE.IC_',
  257.    PWS           = 'NETSCAPE.ICO',
  258.    DATE          = '960830',
  259.    TIME          = '1200',
  260.    SIZE          = '1000'
  261.  
  262. *---------------------------------------------------------------------
  263. *  Include 1 FILE entry for each file in the component.
  264. *
  265. *  The following changes are required:
  266. *  - Change the SOURCE and PWS keywords to the name of the file to
  267. *    install.
  268. *---------------------------------------------------------------------
  269. FILE
  270.    VOLUME        = 'PROD001',
  271.    WHEN          = 'OUTOFDATE',
  272.    REPLACEINUSE  = 'I U D R',
  273.    UNPACK        = 'YES',
  274.    SOURCE        = 'DRIVE: NETSCAPE.HL_',
  275.    PWS           = 'NETSCAPE.HLP',
  276.    DATE          = '960830',
  277.    TIME          = '1200',
  278.    SIZE          = '10000'
  279.  
  280.  
  281.  
  282. *---------------------------------------------------------------------
  283. *  Create a program object in the product folder.
  284. *
  285. *  The following changes are required:
  286. *  - Change "COMP1A" in the EXIT keyword to the name of the object.
  287. *  - Change "COMP1A.EXE" in the EXIT keyword after EXENAME to the
  288. *    name of the program to run.
  289. *  - Change "[]" in the EXIT keyword after PARAMETERS to any
  290. *    parameters required to run the object; if no parameters are
  291. *    required, delete "PARAMETERS=[];" from the EXIT keyword.
  292. *  - Change "COMP1A" in the EXIT keyword after OBJECTID to the
  293. *    program's object ID; be sure to make the value sufficiently
  294. *    unique; the value must be enclosed in "<>" characters; do not use
  295. *    "COMP1A" or the value of the FOLDERID variable.
  296. *---------------------------------------------------------------------
  297. FILE
  298.    EXITWHEN      = 'INSTALL || UPDATE || RESTORE',
  299.    EXITIGNOREERR = 'NO',
  300.    EXIT          = 'CREATEWPSOBJECT WPProgram "Netscape Navigator for OS/2"
  301.                    <%FOLDERID%> R
  302.                    "EXENAME=%EPFIFILEDIR%\NETSCAPE.EXE;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<NAVPROG>;"'
  303.  
  304. *---------------------------------------------------------------------
  305. *  Create a shadow object of the READ.ME file in the product folder.
  306. *
  307. *---------------------------------------------------------------------
  308. FILE
  309.    EXITWHEN      = 'INSTALL || UPDATE || RESTORE',
  310.    EXITIGNOREERR = 'NO',
  311.    EXIT          = 'CREATEWPSOBJECT WPShadow "READ.ME"
  312.                    <%FOLDERID%> R
  313.                    "SHADOWID=%EPFIFILEDIR%\READ.ME;OBJECTID=<NAVREADME>;"'
  314. *---------------------------------------------------------------------
  315. *  Include 1 FILE entry for each file in the component.
  316. *
  317. *  The following changes are required:
  318. *  - Change the SOURCE and PWS keywords to the name of the file to
  319. *    install.
  320. *---------------------------------------------------------------------
  321. FILE
  322.    VOLUME        = 'PROD001',
  323.    WHEN          = 'OUTOFDATE',
  324.    REPLACEINUSE  = 'I U D R',
  325.    UNPACK        = 'NO',
  326.    SOURCE        = 'DRIVE: NSEXITS.DLL',
  327.    PWS           = 'NSEXITS.DLL',
  328.    DATE          = '960830',
  329.    TIME          = '1200',
  330.    SIZE          = '92000'
  331.  
  332.  
  333. *---------------------------------------------------------------------
  334. *  Call installation exits to prompt user for WebEx to Netscape conversion
  335. *
  336. *---------------------------------------------------------------------
  337. EXIT
  338.    DLL = 'NSEXITS.DLL'
  339.  
  340.  
  341. FILE
  342.    EXITWHEN      = 'INSTALL',
  343.    EXITIGNOREERR = 'NO',
  344.    EXIT          = 'NETSCAPECONVERT Netscape'
  345.  
  346. *---------------------------------------------------------------------
  347. *  Delete the program object.
  348. *
  349. *  The following changes are required:
  350. *  - Change "COMP1A" in the EXIT keyword to the program's object ID;
  351. *    be sure to use the object ID that you gave the object when it was
  352. *    created in the previous FILE entry; the value must be enclosed in
  353. *    "<>" characters.
  354. *---------------------------------------------------------------------
  355. FILE
  356.    EXITWHEN      = 'DELETE',
  357.    EXITIGNOREERR = 'YES',
  358.    EXIT          = 'DELETEWPSOBJECT <NAVPROG>'
  359.  
  360. **********************************************************************
  361.  
  362.  
  363. *---------------------------------------------------------------------
  364. *  This component deletes the product folder; it must be the last
  365. *  COMPONENT entry in the package file.
  366. *
  367. *  No changes are required to any entry in this component.
  368. *---------------------------------------------------------------------
  369. COMPONENT
  370.    NAME    = 'DELLAST',
  371.    ID      = 'DELLAST',
  372.    DISPLAY = 'NO',
  373.    SIZE    = '0'
  374.  
  375. FILE
  376.    EXITWHEN      = 'DELETE',
  377.    EXITIGNOREERR = 'YES',
  378.    EXIT          = 'DELETEWPSOBJECT <%FOLDERID%>'
  379.  
  380.